/*初始化*/
body, ol, ul, h1, h2, h3, h4, h5, h6, p, th, td, dl, dd, form, fieldset, legend, input, textarea, select {
    margin: 0;
    padding: 0
}

body {
    font: 12px "宋体", "Arial Narrow", HELVETICA;
    background: #fff;
    -webkit-text-size-adjust: 100%;
}

a {
    color: #2d374b;
    text-decoration: none
}

a:hover {
    color: #003366;
    font-weight: bold;
    text-decoration: none;
}

em {
    font-style: normal
}

li {
    list-style: none
}

img {
    border: 0;
    vertical-align: middle
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

p {
    word-wrap: break-word
}

/*index*/
body {
    font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #424242;
    background-image: url("/static/images/background.png");
}

label {
    font-family: "Microsoft Yahei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
}

.main_index {
    width: 250px;
    position: absolute;
    height: 400px;
    top: 50%;
    left: 50%;
    bottom: 50%;
    right: 50%;
    margin-left: -120px;
    margin-top: -200px;

}

h1 {
    margin: 20px auto 20px 45px;
}

.input_div {
    width: 240px;
}

.text {
    height: 40px;
    width: 100%;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #6699CC;
    transition: all 0.30s ease-in-out;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
    outline: none;
    padding-left: 5px;
}

.text:focus /*,.text:hover*/
{
    border: 1px solid #35a5e5;
    box-shadow: 0 0 5px rgba(81, 203, 238, 1);
    -webkit-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
    -moz-box-shadow: 0 0 5px rgba(81, 203, 238, 1);
}

.tips {
    width: 180px;
    color: #003366;
    font-size: 10pt;
    margin-bottom: 5px;
}

.rem {
    margin-top: 25px;
    float: left;
}

.remember {
    float: left;
    width: 20px;
    height: 20px;
    margin-top: 23px;
    margin-left: 5px;
    background: #ddd;
    border-radius: 100%;
    position: relative;
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
}

.remember input {
    display: none;
}

.remember label {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 100px;

    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
    cursor: pointer;
    position: absolute;
    top: 2px;
    left: 2px;
    z-index: 1;

    background: #CCCCCC;

    -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.5);
    box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.5);
}

.remember input[type=checkbox]:checked + label {
    background: #0066CC;
}

#captchaCode {
    position: absolute;
    float: left;
}

#reCaptcha {
    margin: 5px 0;
}

#reCaptcha:hover {
    color: saddlebrown;
    cursor: default;
}

#submit {
    width: 247px;
    background: #003366;
    color: #FFF;
}

#submit:active {
    background: #FFF;
    color: #003366;
}

.captcha {
    border: 1px solid #4288ce;
    margin-left: 80px;
    height: 40px;
    width: 100px;
}

/*main*/
a {
    color: #787878;
}

.wrapper {

}

.main {
    width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.clear {
    clear: both;
}

/*header*/
.header_logo {
    padding: 10px;
    float: left;
}

.header_info {
    padding: 15px 30px 0 0;
    float: right;
    color: #fffaed;
}

.header_info a {
    color: #F0F0F0;
    padding: 5px;
}

.header_info a:hover {
    color: #EBEBEB;
    font-weight: 100;
}

.header {
    background: -webkit-linear-gradient(#000033, #0066CC); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(#000033, #0066CC); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(#000033, #0066CC); /* Firefox 3.6 - 15 */
    background: linear-gradient(#003366, #0066CC); /* 标准的语法 */
}

.form_search {
    margin: 10px 20px;
}

.form_search div {
    float: left;
    height: 30px;
}

.form_search div label {
    font-size: 10pt;
}

.form_search div input {
    border:1px solid #0066CC;
    width: 70px;
    line-height: 20px;
    margin-right: 10px;
}

.form_search span {
    color: #003366;
}

.submit_search {
    border: 1px solid #003366;
    width: 40px;
    background: #0066CC;
    color: #FFF;
}

.submit_search:hover {
    background: #FFFFFF;
    color: #003366;
}

.submit_search:active {
    color: #000;
}

button {
    width: 70px;
    border: 1px solid #003366;
    background: #FFF;
    color: #003366;
}

button:hover {
    background: #0066CC;
    color: #FFF;
}

button:active {
    color: #000;
}

/*menu*/
.l_side {
    width: 18%;
    float: left;
}

.l_side_title {
    padding: 5px 0;
    margin-bottom: 10px;
    text-align: center;
    font-size: 11pt;
    color: #FFF;
    border: 1px solid #003366;
    border-left: none;
    border-right: none;
    background: -webkit-linear-gradient(#006699, #0066CC); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(#006699, #0066CC); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(#006699, #0066CC); /* Firefox 3.6 - 15 */
    background: linear-gradient(#006699, #0066CC); /* 标准的语法 */
}

.l_side_div {
    border: 1px solid #003366;
    border-bottom: none;
    border-top: none;
}

.l_side_div:last-child {
    border-bottom: 1px solid #003366;
}

.l_side_menu li {
    text-align: center;
    padding: 0 0 10px;
}

p.action {
    background: #003366;
    border-radius: 3px;
    margin: 0 15px;
    height: 18px;
}

p.action a {
    color: white;
}

/*center*/
.center {
    width: 80%;
    float: right;
}

.info {
    width: 100%;
    border: 1px solid #003366;
    float: left;
    margin-left: -2px;
}

.info img {
    width: 64px;
    height: 64px;
}

.user {
    width: 42%;
    padding: 10px 20px;
    float: left;
    height: 100%;
}

.user_info a {
    color: #E1620E;
}

.user_img {
    margin: 10px 0 0 0;
    float: left;
}

.user_info {
    float: left;
}

.user_info h3 {
    margin: 5px 20px;
}

.user_info p {
    margin: 5px 20px;
}

.user_info a {
    padding: 0 3px;
}

.user_info_welcome {
    font-weight: bold;
    font-size: 12pt;
    color: #003366;
}

.point {
    width: 48%;
    border-left: 1px solid #003366;
    padding: 10px 20px;
    float: left;
}

.point_img {
    margin: 10px 0 0 0;
    float: left;
}

.point_info {
    float: left;
}

.point_info h3 {
    margin: 5px 20px;
}

.point_info p {
    margin: 5px 20px;
}

.query {
    border-right: 1px solid #003366;
    border-left: 1px solid #003366;
    margin-top: 20px;
    background: #FFF;
}

h5 {
    padding: 5px 0 5px 10px;
    font-size: 11pt;
    color: #FFF;
    border: 1px solid #003366;
    border-left: none;
    border-right: none;
    background: -webkit-linear-gradient(#006699, #0066CC); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(#006699, #0066CC); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(#006699, #0066CC); /* Firefox 3.6 - 15 */
    background: linear-gradient(#006699, #0066CC); /* 标准的语法 */
}

.query th {
    line-height: 30px;
    background: #F0F0F0;
}

tr:hover{
    background: #F0F0F0;
}

.table {
    padding: 10px;
}

.table table {
    width: 100%;
}

.table td, th {
    border: 1px solid #CCC;
}

.table_link {
    text-align: right;
}

.table_link a {
    margin: 15px;
    line-height: 32px;
}

.table_query td {
    line-height: 28px;
    text-align: center;
}

.table_not {
    line-height: 28px;
    text-align: center;
}

.table:last-of-type {
    border-bottom: 1px solid #003366;
}

.productID {
    display: none;
}

.product {
    margin: 2px 2px 2px auto;
    width: 90% !important;
}

.product td, .product th {
    line-height: 2em;
}

/*log*/
.log {
    width: 80%;
    float: right;
}

.log .query {
    margin-top: 0;
}

/*edit*/
.user_edit {
    margin: 0 200px;
    width: 400px;
    float: left;
    font-size: 1.2em;
}

.user_edit label {
    margin-top: 20px;
    margin-right: 5px;
    float: left;
}

.user_edit input {
    float: left;
    width: 80%;
    font-size: 1.2em;
}

.user_edit select {
    float: left;
    width: 20%;
    background: white;
}

.user_edit input#submit {
    margin-right: 20px;
    float: right;
    width: 50%;
}

#qq{
    margin-left: 2px;
}

#ps {
    color: #003366;
}

/*pass*/
.user_pass {
    margin: 20px 200px;
    width: 400px;
    float: left;
    font-size: 1.2em;
}

.pass_ps {
    float: right;
    color: #003366;
}

/*page*/

.pagination * {
    display: inline;
    padding: 0 2px;
}

/*msg*/
.button {
    float: left;
    margin-left: 10px;
    height: 29px;
    border: 1px solid #003366;
    background: #FFF;
    width: 70px;
    font-size: 10pt;
    color: #003366;
}

.button:hover {
    color: #FFF;
    background: #0066CC;
}

.button:active {
    color: #000;
}

.msg {
    margin-top: 10px;
    margin-bottom: 10px;
}

#read {
    background: #003366;
    color: #fffaed;
}


/*404*/
.error404{
    text-align: center;
    padding-top: 20px;
}
.error404>p{
    font-size: 50px;
    margin: 10px 0;
}

/*footer*/
.footer {
    margin: 20px;
    text-align: center;
}